package com.shycloud.mido.opter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.opter.api.entity.StockExchangeGoods;
import com.shycloud.mido.opter.api.vo.StockExchangeGoodsVO;
import org.apache.ibatis.annotations.Param;

public interface StockExchangeGoodsMapper extends BaseMapper<StockExchangeGoods> {

	IPage<StockExchangeGoodsVO> getExchangeGoodsList(@Param("page") Page page, @Param("name") String name, @Param("startDate") String startDate, @Param("endDate") String endDate, @Param("isCommit") String isCommit);

	String getGoodsNameById(@Param("goodsId") Integer goodsId);
}